package com.wze.wze.Service;

import com.wze.wze.Entity.ActivityTab;
import com.wze.wze.Impl.ActivityTabImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ActivityTabService implements ActivityTabImpl {
    @Resource
    ActivityTabImpl activityTabImpl;
    @Override
    public ActivityTab getActivityById(int id) {
        return activityTabImpl.getActivityById(id);
    }

    @Override
    public List<ActivityTab> getActivityList(int Start, int Page, int id, String Title) {
        return activityTabImpl.getActivityList(Start,Page,id,Title);
    }

    @Override
    public int upActivity(ActivityTab activityTab1) {
        return activityTabImpl.upActivity(activityTab1);
    }

    @Override
    public int delActivityById(int id) {
        return activityTabImpl.delActivityById(id);
    }

    @Override
    public int addActivity(String Title, String Image, String Context) {
        return activityTabImpl.addActivity(Title,Image,Context);
    }

}
